<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Skins - CKEditor Sample</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
	<script language="javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="data/ckeditor.js"></script>
	<script type="text/javascript" src="data/adapters/jquery.js"></script>
	<script src="data/sample.js" type="text/javascript"></script>
	<link href="data/sample.css" rel="stylesheet" type="text/css" />
	<script src="test.js" type="text/javascript"></script>

		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shCore.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushBash.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushCpp.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushCSharp.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushCss.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushDelphi.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushDiff.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushGroovy.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushJava.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushJScript.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushPhp.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushPlain.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushPython.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushRuby.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushScala.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushSql.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushVb.js"></script>
		<script type="text/javascript"
			src="data/plugins/syntaxhighlight/js/shBrushXml.js"></script>
		<link type="text/css" rel="stylesheet"
			href="data/plugins/syntaxhighlight/css/shCore.css" />
		<link type="text/css" rel="stylesheet"
			href="data/plugins/syntaxhighlight/css/shThemeDefault.css" />
		<script type="text/javascript">  
			SyntaxHighlighter.config.clipboardSwf = 'data/plugins/syntaxhighlight/js/clipboard.swf';  
			SyntaxHighlighter.all(); 
		</script>


	</head>
<body>
	<h1>
		CKEditor Sample
	</h1>
	<!-- This <div> holds alert messages to be display in the sample page. -->
	<div id="alerts">
		<noscript>
			<p>
				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
				support, like yours, you should still see the contents (HTML data) and you should
				be able to edit it normally, without a rich editor interface.
			</p>
		</noscript>
	</div>
	<form action="sample_posteddata.php" method="post">
		<p>
			"Kama" skin:<br />
			<textarea cols="80" id="editor_kama" name="editor_kama" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
		</p>
		<input type="button" value="ckdata" id="testClick"  />
	</form>
	<hr></hr>
		<pre class="brush:java;">
package com.eshore.absp.business.cache.cachemgr;

import java.util.HashMap;
import java.util.Map;

/**
 * @author zengke
 * 
 * 全局缓存
 */
public class GlobeCache {

	private static Map&lt;Object, Object&gt; globeCacheMap = new HashMap&lt;Object, Object&gt;();

	/**
	 * 将指定的值与此映射中的指定键关联
	 * 
	 * @param key与指定对象关联的键
	 * @param object与指定键关联的对象
	 */
	public static void put(Object key, Object object) {
		globeCacheMap.put(key, object);
	}

	/**
	 * 返回指定键所映射的对象
	 * 
	 * @param key与指定对象关联的键
	 * @return 指定键所映射的对象
	 */
	public static Object get(Object key) {
		return globeCacheMap.get(key);
	}

	/**
	 * 清除键的映射关系
	 * 
	 * @param key从映射中移除其映射关系的键
	 */
	public static void remove(Object key) {
		globeCacheMap.remove(key);
	}
}
</pre>
	</body>
</html>
